package com.example.demo.api;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Ricky
 * @date 2020/11/19
 */
@Api(tags = "user测试controller")
@RestController
public class TestController {
    @ApiOperation(value = "hello接口", notes = "user测试接口")
    @GetMapping("/hello")
    public String test() {
        return "user_你好";
    }

}
